package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/15
*/
@Data
@ApiModel("Identifier type 为 email 时，存储的是email pattern,为unique identifier 时，存储的是生成/填写的identifier, 为 shared 时，存储的是填写的 shared identifier")
@Table(name = "tbl_plan_benefit_identifier")
@NoArgsConstructor
@AllArgsConstructor
public class TblPlanBenefitIdentifier extends BaseEntity {
    private String name;

    @Column(name = "benefit_id")
    private String benefitId;

    private String identifier;

    /**
     * SUB 使用
     */
    @Column(name = "start_date")
    @ApiModelProperty("SUB 使用")
    private Date startDate;

    /**
     * SUB 使用
     */
    @Column(name = "end_date")
    @ApiModelProperty("SUB 使用")
    private Date endDate;
}